﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TLT.Models.Entities;

namespace TLT.Models.IRepositories
{
    public interface ISanPhamRepository
    {
        IEnumerable<SanPham> GetAll();
        SanPham GetObjectByID(Guid id);
        void Add(SanPham obj);
        void Delete(Guid id);
        void Update(SanPham obj);
        bool ObjectExists(Guid id);
    }
}
